from typing import Dict
from abc import ABC, abstractmethod

class ModelPostprocessor(ABC):
    """模型后处理抽象基类"""
    
    @abstractmethod
    def postprocess(self, model_output, meta: Dict) -> Dict:
        """处理模型输出并返回结构化结果"""
        pass
